package main

import (

	//"wxsdk/utils/mapstruct"
	//"wxsdk/api/response/wxpayrsp"
)

func main() {
    /*
	var args = struct {
		Id        int64  `map:"id"`
		Name      string `map:"name"`
		IsOK      bool   `map:"ok"`
		OmitEmpty string `map:"empty,omitempty"` // discard
		Ignore    string `map:"-"`               // discard
		NoName    string
		StringInt int64 `map:"strint,string"`
	}{
		Id:        1001,
		Name:      "tim",
		IsOK:      true,
		OmitEmpty: "",
		Ignore:    "never mind",
		NoName:    "hello",
		StringInt: 2001,
	}
	vals := mapstruct.Struct2Map(args, "map")
    for key, value := range vals {
	    fmt.Println(key, value)
	}
	*/
	
	/*var unifiedOrder wxpayrsp.UnifiedOrderResponse
	unifiedOrder.TradeType = "1"
	unifiedOrder.PrepayId = "2"
	unifiedOrder.BaseResponse.ReturnCode = "3"
	unifiedOrder.BaseResponse.ReturnMsg = "4"
	vals := mapstruct.Struct2Map(unifiedOrder, "xml")
    for key, value := range vals {
	    fmt.Println(key, value)
	}*/
	
}
